package com.geekcattle.service.goods.iml;

import com.geekcattle.mapper.goods.GoodsCarMapper;
import com.geekcattle.service.goods.GoodsCarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: geek-framework
 * @description:
 * @author: LQ
 * @create: 2019-04-21 11:22
 */
@Service
public class GoodsCarServiceImpl implements GoodsCarService {
    @Autowired
    private GoodsCarMapper goodsCarMapper;
    @Override
    public List<Map> getCar(Map map) {
        return goodsCarMapper.getCar(map);
    }

    @Override
    public int deleteCar(Map map) {
        return goodsCarMapper.deleteCar(map);
    }

    @Override
    public int addCar(Map map) {
        return goodsCarMapper.addCar(map);
    }

    @Override
    public int updateCar(Map map) {
        return goodsCarMapper.updateCar(map);
    }
}
